12 research outputs found

    Polynomial Min/Max-weighted Reachability is in Unambiguous Log-space

    Get PDF

    Density Independent Algorithms for Sparsifying k-Step Random Walks

    Get PDF
    We give faster algorithms for producing sparse approximations of the transition matrices of k-step random walks on undirected and weighted graphs. These transition matrices also form graphs, and arise as intermediate objects in a variety of graph algorithms. Our improvements are based on a better understanding of processes that sample such walks, as well as tighter bounds on key weights underlying these sampling processes. On a graph with n vertices and m edges, our algorithm produces a graph with about nlog(n) edges that approximates the k-step random walk graph in about m + k^2 nlog^4(n) time. In order to obtain this runtime bound, we also revisit "density independent" algorithms for sparsifying graphs whose runtime overhead is expressed only in terms of the number of vertices

    Graph Sparsification, Spectral Sketches, and Faster Resistance Computation, via Short Cycle Decompositions

    Get PDF
    We develop a framework for graph sparsification and sketching, based on a new tool, short cycle decomposition -- a decomposition of an unweighted graph into an edge-disjoint collection of short cycles, plus few extra edges. A simple observation gives that every graph G on n vertices with m edges can be decomposed in O(mn)O(mn) time into cycles of length at most 2logn2\log n, and at most 2n2n extra edges. We give an m1+o(1)m^{1+o(1)} time algorithm for constructing a short cycle decomposition, with cycles of length no(1)n^{o(1)}, and n1+o(1)n^{1+o(1)} extra edges. These decompositions enable us to make progress on several open questions: * We give an algorithm to find (1±ϵ)(1\pm\epsilon)-approximations to effective resistances of all edges in time m1+o(1)ϵ1.5m^{1+o(1)}\epsilon^{-1.5}, improving over the previous best of O~(min{mϵ2,n2ϵ1})\tilde{O}(\min\{m\epsilon^{-2},n^2 \epsilon^{-1}\}). This gives an algorithm to approximate the determinant of a Laplacian up to (1±ϵ)(1\pm\epsilon) in m1+o(1)+n15/8+o(1)ϵ7/4m^{1 + o(1)} + n^{15/8+o(1)}\epsilon^{-7/4} time. * We show existence and efficient algorithms for constructing graphical spectral sketches -- a distribution over sparse graphs H such that for a fixed vector xx, we have w.h.p. xLHx=(1±ϵ)xLGxx'L_Hx=(1\pm\epsilon)x'L_Gx and xLH+x=(1±ϵ)xLG+xx'L_H^+x=(1\pm\epsilon)x'L_G^+x. This implies the existence of resistance-sparsifiers with about nϵ1n\epsilon^{-1} edges that preserve the effective resistances between every pair of vertices up to (1±ϵ).(1\pm\epsilon). * By combining short cycle decompositions with known tools in graph sparsification, we show the existence of nearly-linear sized degree-preserving spectral sparsifiers, as well as significantly sparser approximations of directed graphs. The latter is critical to recent breakthroughs on faster algorithms for solving linear systems in directed Laplacians. Improved algorithms for constructing short cycle decompositions will lead to improvements for each of the above results.Comment: 80 page

    Graph Sketching Against Adaptive Adversaries Applied to the Minimum Degree Algorithm

    Full text link
    Motivated by the study of matrix elimination orderings in combinatorial scientific computing, we utilize graph sketching and local sampling to give a data structure that provides access to approximate fill degrees of a matrix undergoing elimination in O(polylog(n))O(\text{polylog}(n)) time per elimination and query. We then study the problem of using this data structure in the minimum degree algorithm, which is a widely-used heuristic for producing elimination orderings for sparse matrices by repeatedly eliminating the vertex with (approximate) minimum fill degree. This leads to a nearly-linear time algorithm for generating approximate greedy minimum degree orderings. Despite extensive studies of algorithms for elimination orderings in combinatorial scientific computing, our result is the first rigorous incorporation of randomized tools in this setting, as well as the first nearly-linear time algorithm for producing elimination orderings with provable approximation guarantees. While our sketching data structure readily works in the oblivious adversary model, by repeatedly querying and greedily updating itself, it enters the adaptive adversarial model where the underlying sketches become prone to failure due to dependency issues with their internal randomness. We show how to use an additional sampling procedure to circumvent this problem and to create an independent access sequence. Our technique for decorrelating the interleaved queries and updates to this randomized data structure may be of independent interest.Comment: 58 pages, 3 figures. This is a substantially revised version of arXiv:1711.08446 with an emphasis on the underlying theoretical problem
    corecore